package common;

import pri.util.Sys;

import java.awt.*;
import java.io.File;

public class Constant {
    // Common
    public static final String boldfaceName = Sys.getInfo(Sys.Os).startsWith("Windows") ? "Microsoft YaHei" : "PingFang SC";
    public static final String roundfaceName = Sys.getInfo(Sys.Os).startsWith("Windows") ? "Youyuan" : "Yuanti SC";

    // Main
    public static final String VERSION = "2.1", CN_NAME = "中文文本衔接关系编辑器", EN_NAME = "CTCRE",
            CONFIG = "Configuration.cfg";
    public static final Color titleColor = new Color(37, 37, 37);
    public static final int FWidth = 1200, FHeight = 742;
    public static final Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();

    // FUtil
    // From Version 1.4
    public static final String Encode = "UTF-8";// very important 不可随意更改
    public static File usingXDoc, usingDoc;

    // CfgOperator
    // Version 1.3: ◎; Version 1.4: ¤
    public static final String Config_sign = "¤";

    // Mean
    //MEAN_VERSION 1.0-1.3 进行了部分属性位置的转变 1.3-1.4 第7位属性“词性”被“指称类型”取代
    public static final String ATTR_VERSION = "1.4";
    public static final String HIDDEN = "┇";
}
